pledge allegiance

Translations
присягать на верность
Someone pledged allegiance to the flag.
Кто-то присягнул на верность флагу.
Definitions
To make a solemn promise to be loyal to a country, organization, or cause, often expressed through a formal declaration or oath.
Words
allegiance

noun
верность
pledge

verb
обещать